const camelCase = /^([A-Z][a-z]+)+$/; //大驼峰
const snakeCase = /^([a-z][a-z_]+)+$/; //下划线
module.exports = {
    regexp: /[a-z]/,
    root: 'src',
    directories: {
        'components': {
            directories: {
                utils: {
                    regexp: snakeCase,
                }
            },
            regexp: {
                '.tsx': camelCase,
                '.jsx': camelCase,
                '*': snakeCase,
            },
            whitelist: [/^index/],
        },
        'handlers': {
            regexp: snakeCase,
        },
    }
}